package com.hqj.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/5/16/016
 */
@ApiModel("博客收藏")
@TableName(value="blogs_collect")
@Data
public class BlogsCollect implements Serializable{

	@ApiModelProperty(value = "",required = false)
     @TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "名称",required = false)
	private String name;

	@ApiModelProperty(value = "封面地址",required = false)
	private String imgUrl;

	@ApiModelProperty(value = "收藏类型:0表示试卷1音视频2其他",required = false)
	private Integer type;

	@ApiModelProperty(value = "收藏时间",required = false)
	private Date createBy;

	@ApiModelProperty(value = "0表示在收藏1表示已取消收藏",required = false)
	private Integer isDelete;

	@ApiModelProperty(value = "收藏类型的id",required = false)
	private Long typeId;

	@ApiModelProperty(value = "用户账户",required = false)
	private String userName;






}
